<div>
	<table ng-table="tableParams" class="table" show-filter="false">
	    <col style="width:20%" />
	    <col style="width:120px" />
	    <col style="width:120px" />
	    <col style="width:120px" />
	    <col style="width:120px" />
	    <col style=""/>
	    <col style="width:120px;" />
	    <tr ng-repeat="banner in $data">
	        <td title="'标题'" filter="{ name: 'text'}" sortable="'name'">
	            {{banner.title}}</td>
	        <td title="'类型'" filter="{ age: 'text'}" sortable="'age'">
	            {{banner.type|bannerTypeFilter}}</td> 
	        <td title="'显示'" filter="{ age: 'text'}" sortable="'age'">
	            {{banner.isshow==1?'是':'否'}}</td>
	        <td title="'图片'">
	            <a ng-href="{{banner.url}}" target="_blank"><img style="width:100px;height:100px;" ng-src="{{banner.image}}" /></a></td>
	        <td title="'分享图片'">
	             <a ng-href=" {{banner.shareurl}}" target="_blank"><img style="width:100px;height:100px;" ng-src="{{banner.shareimage}}" /></a></td>   
	        <td title="'描述'">
	            <!-- {{banner.description}} -->
	            <span ng-bind-html="banner.description|lineFilter"></span></td>
	        <td title="'操作'" style="text-align:center">
	            <a href="javascript:void(0)" ng-click="newBanner(banner)">编辑</a>
	            <!-- <a href="#">删除</a> -->
	        </td>
	    </tr>
	</table>

	<input type="button" value="新建" ng-click="newBanner()"/>
</div>